package chapter.job2;

public class Textcommon {
    public static void main(String[] args) {
        teacher1 te1=new teacher1("张三",23,"男","java");
        te1.selfIntroduce();
        te1.giveLession();
        teacher2 te2=new teacher2("李四",33,"女","UI");
        te2.selfIntroduce();
        te2.giveLession();
        teacher3 te3=new teacher3("王五",23,"男","net");
        te3.selfIntroduce();
        te3.giveLession();
    }
}
